package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 代码生成业务表字段
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Gen_table_column implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "column_id", type = IdType.AUTO)
    private Long column_id;

    /**
     * 归属表编号
     */
    private Long table_id;

    /**
     * 列名称
     */
    private String column_name;

    /**
     * 列描述
     */
    private String column_comment;

    /**
     * 列类型
     */
    private String column_type;

    /**
     * JAVA类型
     */
    private String java_type;

    /**
     * JAVA字段名
     */
    private String java_field;

    /**
     * 是否主键（1是）
     */
    private String is_pk;

    /**
     * 是否自增（1是）
     */
    private String is_increment;

    /**
     * 是否必填（1是）
     */
    private String is_required;

    /**
     * 是否为插入字段（1是）
     */
    private String is_insert;

    /**
     * 是否编辑字段（1是）
     */
    private String is_edit;

    /**
     * 是否列表字段（1是）
     */
    private String is_list;

    /**
     * 是否查询字段（1是）
     */
    private String is_query;

    /**
     * 查询方式（等于、不等于、大于、小于、范围）
     */
    private String query_type;

    /**
     * 显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）
     */
    private String html_type;

    /**
     * 字典类型
     */
    private String dict_type;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建者
     */
    private String create_by;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 更新者
     */
    private String update_by;

    /**
     * 更新时间
     */
    private Date update_time;


    public Long getColumn_id() {
        return column_id;
    }

    public void setColumn_id(Long column_id) {
        this.column_id = column_id;
    }

    public Long getTable_id() {
        return table_id;
    }

    public void setTable_id(Long table_id) {
        this.table_id = table_id;
    }

    public String getColumn_name() {
        return column_name;
    }

    public void setColumn_name(String column_name) {
        this.column_name = column_name;
    }

    public String getColumn_comment() {
        return column_comment;
    }

    public void setColumn_comment(String column_comment) {
        this.column_comment = column_comment;
    }

    public String getColumn_type() {
        return column_type;
    }

    public void setColumn_type(String column_type) {
        this.column_type = column_type;
    }

    public String getJava_type() {
        return java_type;
    }

    public void setJava_type(String java_type) {
        this.java_type = java_type;
    }

    public String getJava_field() {
        return java_field;
    }

    public void setJava_field(String java_field) {
        this.java_field = java_field;
    }

    public String getIs_pk() {
        return is_pk;
    }

    public void setIs_pk(String is_pk) {
        this.is_pk = is_pk;
    }

    public String getIs_increment() {
        return is_increment;
    }

    public void setIs_increment(String is_increment) {
        this.is_increment = is_increment;
    }

    public String getIs_required() {
        return is_required;
    }

    public void setIs_required(String is_required) {
        this.is_required = is_required;
    }

    public String getIs_insert() {
        return is_insert;
    }

    public void setIs_insert(String is_insert) {
        this.is_insert = is_insert;
    }

    public String getIs_edit() {
        return is_edit;
    }

    public void setIs_edit(String is_edit) {
        this.is_edit = is_edit;
    }

    public String getIs_list() {
        return is_list;
    }

    public void setIs_list(String is_list) {
        this.is_list = is_list;
    }

    public String getIs_query() {
        return is_query;
    }

    public void setIs_query(String is_query) {
        this.is_query = is_query;
    }

    public String getQuery_type() {
        return query_type;
    }

    public void setQuery_type(String query_type) {
        this.query_type = query_type;
    }

    public String getHtml_type() {
        return html_type;
    }

    public void setHtml_type(String html_type) {
        this.html_type = html_type;
    }

    public String getDict_type() {
        return dict_type;
    }

    public void setDict_type(String dict_type) {
        this.dict_type = dict_type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Gen_table_column{" +
        "column_id=" + column_id +
        ", table_id=" + table_id +
        ", column_name=" + column_name +
        ", column_comment=" + column_comment +
        ", column_type=" + column_type +
        ", java_type=" + java_type +
        ", java_field=" + java_field +
        ", is_pk=" + is_pk +
        ", is_increment=" + is_increment +
        ", is_required=" + is_required +
        ", is_insert=" + is_insert +
        ", is_edit=" + is_edit +
        ", is_list=" + is_list +
        ", is_query=" + is_query +
        ", query_type=" + query_type +
        ", html_type=" + html_type +
        ", dict_type=" + dict_type +
        ", sort=" + sort +
        ", create_by=" + create_by +
        ", create_time=" + create_time +
        ", update_by=" + update_by +
        ", update_time=" + update_time +
        "}";
    }
}
